package v1

import "github.com/gogf/gf/v2/os/gbuild"

type CommonStatusEnumReq struct {
}
type CommonStatusEnumRes struct {
	Http   interface{} `json:"http"`
	Custom interface{} `json:"custom"`
}

type CommonVersionReq struct {
}
type CommonVersionRes struct {
	Info          gbuild.BuildInfo `json:"info"`
	Datetime      string           `json:"datetime"`
	UUID          string           `json:"UUID"`
	Port          int              `json:"port"`
	Pid           int              `json:"pid"`
	StartDatetime string           `json:"start_datetime"`
	WorkId        int              `json:"work_id"`
}

type CommonServerDateReq struct {
	Format string `d:"Y-m-d H:i:s"`
}
type CommonServerDateRes struct {
	Datetime       string `json:"datetime"`
	DatetimeMilli  string `json:"datetime_milli"`
	Timestamp      string `json:"timestamp"`
	TimestampMilli string `json:"timestamp_milli"`
	Format         string `json:"format"`
	ISO8601        string `json:"ISO8601"`
	RFC822         string `json:"RFC822"`
}
